package com.glela.goods.model.response;

import java.util.HashMap;
import java.util.Map;

import com.glela.goods.model.GoodsPrice;

public class ProductResponse {
	
	private long goodId;// 产品ID
	
	private long productId;// 规格ID
	
	private String specificationImagesPath;// 规格图片
	
	private long inventoryId;// 库存ID

	private long inventoryNum; // 库存
	
	private GoodsPrice goodsPrice;// 价格信息
	
	private Map<String,Object> ltsMap;// 分时抢购信息
	
	private String isUnderCarriage;// 是否已经下架

	public long getGoodId() {
		return goodId;
	}

	public void setGoodId(long goodId) {
		this.goodId = goodId;
	}

	public long getProductId() {
		return productId;
	}

	public void setProductId(long productId) {
		this.productId = productId;
	}

	public String getSpecificationImagesPath() {
		return specificationImagesPath;
	}

	public void setSpecificationImagesPath(String specificationImagesPath) {
		this.specificationImagesPath = specificationImagesPath;
	}

	public long getInventoryId() {
		return inventoryId;
	}

	public void setInventoryId(long inventoryId) {
		this.inventoryId = inventoryId;
	}

	public long getInventoryNum() {
		return inventoryNum;
	}

	public void setInventoryNum(long inventoryNum) {
		this.inventoryNum = inventoryNum;
	}

	public GoodsPrice getGoodsPrice() {
		return goodsPrice;
	}

	public void setGoodsPrice(GoodsPrice goodsPrice) {
		this.goodsPrice = goodsPrice;
	}

	public Map<String, Object> getLtsMap() {
		return ltsMap;
	}

	public void setLtsMap(Map<String, Object> ltsMap) {
		if(ltsMap == null){
			ltsMap = new HashMap<String, Object>();
		} else{
			this.ltsMap = ltsMap;
		}
	}

	public String getIsUnderCarriage() {
		return isUnderCarriage;
	}

	public void setIsUnderCarriage(String isUnderCarriage) {
		this.isUnderCarriage = isUnderCarriage;
	}
	
}
